	
        <?foreach($payload as $thisday):?>
			<div data-role="collapsible" data-collapsed-icon="arrow-r" data-expanded-icon="arrow-d" data-iconpos='right'>
			<h3><?=$thisday->date?></h3>
			<p class='description'>
			<?if (count($thisday->meal) > 0):?>
			<?foreach($thisday->meal as $x):?>
				<?=$x->name?><br/>
			<?endforeach;?>
			<?else:?>
			No meals for this day.
			<?endif;?>
			</p>
			</div>
		<?endforeach;?>


